package com.HospitalOutpatient.service;

import com.HospitalOutpatient.entity.User;
import com.auth0.jwt.JWT;
import com.auth0.jwt.algorithms.Algorithm;

public interface TokenService {
    /**
     * 设置过期时间
     */
    static final long EXPIRE_TIME = 5 * 60 * 1000;

    /**
     * 获取 token
     */
   String getToken(User user);

}
